import { createRouter, createWebHashHistory } from 'vue-router'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'layout',
      component: () => import('@/layout/index.vue'),
    },
    {
      path: '/gantt',
      name: 'gantt',
      component: () => import('@/views/gantt/index.vue'),
    },
    {
      path: '/ganttGy',
      name: 'ganttGy',
      component: () => import('@/views/ganttGy/index.vue'),
    },
    {
      path: '/topo',
      name: 'topo',
      component: () => import('@/views/topo/index.vue'),
    },
      {
      path: '/topoGy',
      name: 'topoGy',
      component: () => import('@/views/topoGy/index.vue'),
    },
  ],
})

export default router
